<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'jobs-_form-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'jobid'); ?>
		<?php echo $form->textField($model,'jobid'); ?>
		<?php echo $form->error($model,'jobid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'custno'); ?>
		<?php echo $form->textField($model,'custno'); ?>
		<?php echo $form->error($model,'custno'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'locno'); ?>
		<?php echo $form->textField($model,'locno'); ?>
		<?php echo $form->error($model,'locno'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'billloc'); ?>
		<?php echo $form->textField($model,'billloc'); ?>
		<?php echo $form->error($model,'billloc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'supervisor'); ?>
		<?php echo $form->textField($model,'supervisor'); ?>
		<?php echo $form->error($model,'supervisor'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'post'); ?>
		<?php echo $form->textField($model,'post'); ?>
		<?php echo $form->error($model,'post'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'jobstatus'); ?>
		<?php echo $form->textField($model,'jobstatus'); ?>
		<?php echo $form->error($model,'jobstatus'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'billingstatus'); ?>
		<?php echo $form->textField($model,'billingstatus'); ?>
		<?php echo $form->error($model,'billingstatus'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'jobsalesperson'); ?>
		<?php echo $form->textField($model,'jobsalesperson'); ?>
		<?php echo $form->error($model,'jobsalesperson'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'department'); ?>
		<?php echo $form->textField($model,'department'); ?>
		<?php echo $form->error($model,'department'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'description'); ?>
		<?php echo $form->textField($model,'description'); ?>
		<?php echo $form->error($model,'description'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customerpo'); ?>
		<?php echo $form->textField($model,'customerpo'); ?>
		<?php echo $form->error($model,'customerpo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'installcrew'); ?>
		<?php echo $form->dropDownList($model,'installcrew',Employees::model()->getEmployeeList()); ?>
		<?php echo $form->error($model,'installcrew'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'start'); ?>
		<?php echo $form->textField($model,'start'); ?>
		<?php echo $form->error($model,'start'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'projend'); ?>
		<?php echo $form->textField($model,'projend'); ?>
		<?php echo $form->error($model,'projend'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'actualend'); ?>
		<?php echo $form->textField($model,'actualend'); ?>
		<?php echo $form->error($model,'actualend'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'closedate'); ?>
		<?php echo $form->textField($model,'closedate'); ?>
		<?php echo $form->error($model,'closedate'); ?>
	</div>


	<div class="row buttons">
		<?php echo CHtml::submitButton('Submit'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->